package com.um.jdy.common.shop.entity.dto;

import com.um.springboot.starter.orm.entity.BaseDTO;
import lombok.Data;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;

@Data
public class GoodsDTO extends BaseDTO {

    @ApiModelProperty(value = "产品ID")
    protected String shopGoodsId;

    @ApiModelProperty(value = "租户ID")
    protected String comId;

    @ApiModelProperty(value = "平台一级类目编码")
    protected String bigCode;

    @ApiModelProperty(value = "平台二级类目编码")
    protected String code;

    @ApiModelProperty(value = "商品编码")
    protected String goodsCode;

    @ApiModelProperty(value = "产品名称")
    protected String shopGoodsName;

    @ApiModelProperty(value = "商品图片")
    protected String thumb;

    @ApiModelProperty(value = "视频地址")
    protected String videoSrc;

    @ApiModelProperty(value = "商品描述")
    protected String goodsDesc;

    @ApiModelProperty(value = "规格JSON格式")
    protected String options;

    @ApiModelProperty(value = "上架状态:No-否|Yes-是")
    protected String isUpper;

    @ApiModelProperty(value = "产品介绍")
    protected String content;

    @ApiModelProperty(value = "上线时间")
    protected Date createDate;

    @ApiModelProperty(value = "点击量")
    protected Integer click;

    @ApiModelProperty(value = "运费(分)")
    protected Integer freight;

    @ApiModelProperty(value = "是否使用运费模板")
    protected String isFreightTemplate;

    @ApiModelProperty(value = "是否多级规格，No-否，Yes-是")
    protected String isMoreSpec;

    @ApiModelProperty(value = "是否允许分销，No-否，Yes-是")
    protected String isRetail;

    @ApiModelProperty(value = "是否支持退货，No-否，Yes-是")
    protected String isBack;

    @ApiModelProperty(value = "是否包邮，No-否，Yes-是")
    protected String isPost;

    @ApiModelProperty(value = "配送方式")
    protected String delivery;

    @ApiModelProperty(value = "运费模板ID")
    protected String deliveryTemplateId;

    @ApiModelProperty(value = "成本或划线价(分)")
    protected Integer cost;

    @ApiModelProperty(value = "最低单价(分)")
    protected Integer price;

    @ApiModelProperty(value = "起拍数")
    protected Integer limitNum;

    @ApiModelProperty(value = "品牌id")
    protected String shopBrandId;

    @ApiModelProperty(value = "商品标签")
    protected String label;

    @ApiModelProperty(value = "分销佣金(分)")
    protected Integer commission;

    @ApiModelProperty(value = "保障标签")
    protected String securityLabel;


}
